package cn.yuxiaoyuan.mapper;

import cn.yuxiaoyuan.mapper.base.BaseMapper;
import cn.yuxiaoyuan.system.domain.Permission;
import cn.yuxiaoyuan.system.query.PermissionQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
    List<Permission> pageList(PermissionQuery permission);

    Permission findSn(String sn);
}